<Window x:Class="FluidKit.Showcase.DragDrop.DragCanvasExample"
									xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
									xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
									Title="DragCanvasExample - FluidKit"
									Height="300"
									Width="300"
									xmlns:local="clr-namespace:FluidKit.Showcase.DragDrop"
									xmlns:DragDrop="clr-namespace:FluidKit.Helpers.DragDrop;assembly=FluidKit"
    >
	<Window.Resources>
		<local:CanvasDragDropAdvisor x:Key="advisor"/>
	</Window.Resources>
	<Grid>
		<Canvas
			Background="White"
			DragDrop:DragDropManager.DragSourceAdvisor="{StaticResource advisor}"
			DragDrop:DragDropManager.DropTargetAdvisor="{StaticResource advisor}"
        >
			<Rectangle Width="50"
								 Height="50"
								 Fill="Red"
								 Canvas.Left="200"
								 Canvas.Top="100"/>
			<Rectangle Width="50"
								 Height="50"
								 Fill="Green"
								 Canvas.Left="200"
								 Canvas.Top="200"/>
			<Rectangle Width="50"
								 Height="50"
								 Fill="Blue"
								 Canvas.Left="200"
								 Canvas.Top="300"/>
			<Rectangle Width="50"
								 Height="50"
								 Fill="Yellow"
								 Canvas.Left="200"
								 Canvas.Top="400"/>

			<Ellipse Width="75"
							 Height="50"
							 Fill="Yellow"
							 Canvas.Left="300"
							 Canvas.Top="400"
							 Stroke="Black"
							 StrokeThickness="1"
                 />

			<ListBox Width="200"
							 Canvas.Left="300"
							 Canvas.Top="50">
				<TextBlock>Hello</TextBlock>
				<TextBlock>World!</TextBlock>
				<TextBlock>How</TextBlock>
				<TextBlock>Are</TextBlock>
				<TextBlock>You</TextBlock>
				<TextBlock>?</TextBlock>
			</ListBox>

			<Button Content="Nothing"
							Width="50"
							Height="50"
							Canvas.Left="200"
							Canvas.Top="0"/>
			<Button Content="Nothing"
							Width="50"
							Height="50"
							Canvas.Left="0"
							Canvas.Top="0"/>

		</Canvas>
	</Grid>
</Window>
